Optimal. Leaf size=46 \[ -\frac{32 \cos ^{13}(a+b x)}{13 b}+\frac{64 \cos ^{11}(a+b x)}{11 b}-\frac{32 \cos ^9(a+b x)}{9 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0612923, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {4287, 2565, 270} \[ -\frac{32 \cos ^{13}(a+b x)}{13 b}+\frac{64 \cos ^{11}(a+b x)}{11 b}-\frac{32 \cos ^9(a+b x)}{9 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4287
Rule 2565
Rule 270
Rubi steps
\begin{align*} \int \cos ^3(a+b x) \sin ^5(2 a+2 b x) \, dx &=32 \int \cos ^8(a+b x) \sin ^5(a+b x) \, dx\\ &=-\frac{32 \operatorname{Subst}\left (\int x^8 \left (1-x^2\right )^2 \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac{32 \operatorname{Subst}\left (\int \left (x^8-2 x^{10}+x^{12}\right ) \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac{32 \cos ^9(a+b x)}{9 b}+\frac{64 \cos ^{11}(a+b x)}{11 b}-\frac{32 \cos ^{13}(a+b x)}{13 b}\\ \end{align*}
Mathematica [A] time = 0.390068, size = 37, normalized size = 0.8 \[ \frac{4 \cos ^9(a+b x) (540 \cos (2 (a+b x))-99 \cos (4 (a+b x))-505)}{1287 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.024, size = 97, normalized size = 2.1 \begin{align*} -{\frac{5\,\cos \left ( bx+a \right ) }{32\,b}}-{\frac{25\,\cos \left ( 3\,bx+3\,a \right ) }{384\,b}}+{\frac{\cos \left ( 5\,bx+5\,a \right ) }{128\,b}}+{\frac{\cos \left ( 7\,bx+7\,a \right ) }{64\,b}}+{\frac{\cos \left ( 9\,bx+9\,a \right ) }{576\,b}}-{\frac{3\,\cos \left ( 11\,bx+11\,a \right ) }{1408\,b}}-{\frac{\cos \left ( 13\,bx+13\,a \right ) }{1664\,b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.12607, size = 108, normalized size = 2.35 \begin{align*} -\frac{99 \, \cos \left (13 \, b x + 13 \, a\right ) + 351 \, \cos \left (11 \, b x + 11 \, a\right ) - 286 \, \cos \left (9 \, b x + 9 \, a\right ) - 2574 \, \cos \left (7 \, b x + 7 \, a\right ) - 1287 \, \cos \left (5 \, b x + 5 \, a\right ) + 10725 \, \cos \left (3 \, b x + 3 \, a\right ) + 25740 \, \cos \left (b x + a\right )}{164736 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.518563, size = 103, normalized size = 2.24 \begin{align*} -\frac{32 \,{\left (99 \, \cos \left (b x + a\right )^{13} - 234 \, \cos \left (b x + a\right )^{11} + 143 \, \cos \left (b x + a\right )^{9}\right )}}{1287 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.40829, size = 130, normalized size = 2.83 \begin{align*} -\frac{\cos \left (13 \, b x + 13 \, a\right )}{1664 \, b} - \frac{3 \, \cos \left (11 \, b x + 11 \, a\right )}{1408 \, b} + \frac{\cos \left (9 \, b x + 9 \, a\right )}{576 \, b} + \frac{\cos \left (7 \, b x + 7 \, a\right )}{64 \, b} + \frac{\cos \left (5 \, b x + 5 \, a\right )}{128 \, b} - \frac{25 \, \cos \left (3 \, b x + 3 \, a\right )}{384 \, b} - \frac{5 \, \cos \left (b x + a\right )}{32 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]